import service from '@/utils/request'

// @Tags CusReminder
// @Summary 创建cusReminder表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CusReminder true "创建cusReminder表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"创建成功"}"
// @Router /cusReminder/createCusReminder [post]
export const createCusReminder = (data) => {
  return service({
    url: '/cusReminder/createCusReminder',
    method: 'post',
    data
  })
}

// @Tags CusReminder
// @Summary 删除cusReminder表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CusReminder true "删除cusReminder表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /cusReminder/deleteCusReminder [delete]
export const deleteCusReminder = (params) => {
  return service({
    url: '/cusReminder/deleteCusReminder',
    method: 'delete',
    params
  })
}

// @Tags CusReminder
// @Summary 批量删除cusReminder表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body request.IdsReq true "批量删除cusReminder表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"删除成功"}"
// @Router /cusReminder/deleteCusReminder [delete]
export const deleteCusReminderByIds = (params) => {
  return service({
    url: '/cusReminder/deleteCusReminderByIds',
    method: 'delete',
    params
  })
}

// @Tags CusReminder
// @Summary 更新cusReminder表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data body model.CusReminder true "更新cusReminder表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"更新成功"}"
// @Router /cusReminder/updateCusReminder [put]
export const updateCusReminder = (data) => {
  return service({
    url: '/cusReminder/updateCusReminder',
    method: 'put',
    data
  })
}

// @Tags CusReminder
// @Summary 用id查询cusReminder表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query model.CusReminder true "用id查询cusReminder表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"查询成功"}"
// @Router /cusReminder/findCusReminder [get]
export const findCusReminder = (params) => {
  return service({
    url: '/cusReminder/findCusReminder',
    method: 'get',
    params
  })
}

// @Tags CusReminder
// @Summary 分页获取cusReminder表列表
// @Security ApiKeyAuth
// @accept application/json
// @Produce application/json
// @Param data query request.PageInfo true "分页获取cusReminder表列表"
// @Success 200 {string} string "{"success":true,"data":{},"msg":"获取成功"}"
// @Router /cusReminder/getCusReminderList [get]
export const getCusReminderList = (params) => {
  return service({
    url: '/cusReminder/getCusReminderList',
    method: 'get',
    params
  })
}
